﻿using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Text;

namespace TestWebServer.Controllers
{
    public class HomeController : ControllerBase
    {
        [HttpGet("")]
        [HttpGet("index")]
        public ActionResult Index()
        {
            // 主页 - 跳转到SwaggerUI
            return Redirect("/docs/index.html");
        }
    }
}
